import http from '@/utils/http'

//分页查询
export function findCookbookByRangeDate(data) {
    return http.post('/api/calendar/record/findCookbookByRangeDate', data)
}

//新增
export function addEvent(data) {
    return http.post('/api/calendar/record/addEvent', data)
}

//修改
export function editEvent(data) {
    return http.post('/api/calendar/record/editEvent', data)
}

// //详情
// export function findCookbookDetail(data) {
//     return http.post(`/api/cookbook/findDetail/${data}`)
// }

//删除
export function deleteEvent(data) {
    return http.post(`/api/calendar/record/deleteEvent/${data}`)
}
